package com.rdc.qingkou.entity;



import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Card implements Serializable {

    private Integer cardId;
    private User user;
    private String voiceUrl;
    private String mediaUrl;
    private String content;
    private List<Tag> tags;
    private Date date;
    private int anonymity;
    private int praise;//当前用户是否对该用户点赞【0为不点赞、1为点赞】
    private Boolean mediaType;//类型 true 图片 false 音频
    private Boolean subsribeStatus;//当前用户是否对该卡片订阅【true 订阅，false 未订阅】

    public Boolean getSubsribeStatus() {
        return subsribeStatus;
    }

    public void setSubsribeStatus(Boolean subsribeStatus) {
        this.subsribeStatus = subsribeStatus;
    }

    public Boolean getMediaType() {
        return mediaType;
    }

    public void setMediaType(Boolean mediaType) {
        this.mediaType = mediaType;
    }

    public Integer getCardId() {
        return cardId;
    }

    public void setCardId(Integer cardId) {
        this.cardId = cardId;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getVoiceUrl() {
        return voiceUrl;
    }

    public void setVoiceUrl(String voiceUrl) {
        this.voiceUrl = voiceUrl;
    }

    public String getMediaUrl() {
        return mediaUrl;
    }

    public void setMediaUrl(String mediaUrl) {
        this.mediaUrl = mediaUrl;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<Tag> getTags() {
        return tags;
    }

    public void setTags(List<Tag> tags) {
        this.tags = tags;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getAnonymity() {
        return anonymity;
    }

    public void setAnonymity(int anonymity) {
        this.anonymity = anonymity;
    }

    public int getPraise() {
        return praise;
    }

    public void setPraise(int praise) {
        this.praise = praise;
    }


    @Override
    public String toString() {
        return "Card0{" +
                "cardId=" + cardId +
                ", user=" + user +
                ", voiceUrl='" + voiceUrl + '\'' +
                ", mediaUrl='" + mediaUrl + '\'' +
                ", content='" + content + '\'' +
                ", tags=" + tags +
                ", date=" + date +
                ", anonymity=" + anonymity +
                ", praise=" + praise +
                ", mediaType=" + mediaType +
                ", subsribeStatus=" + subsribeStatus +
                '}';
    }
}
